package com.xuan.friend.service.question;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xuan.common.core.domain.TableDataInfo;
import com.xuan.friend.domain.question.Question;
import com.xuan.friend.domain.question.dto.QuestionQueryDTO;
import com.xuan.friend.domain.question.vo.HotQuestionVo;
import com.xuan.friend.domain.question.vo.QuestionDetailVo;

import java.util.List;


public interface QuestionService extends IService<Question> {


    TableDataInfo listQuestion(QuestionQueryDTO questionQueryDTO);

    QuestionDetailVo questionDetail(Long questionId, Long contestId);

    String prevQuestion(Long questionId);

    String nextQuestion(Long questionId);

    List<HotQuestionVo> getHotQuestionList();

}
